/*
 *@Type SocketClientUsage.java
 * @Desc
 * @Author urmsone urmsone@163.com
 * @date 2024/6/13 14:07
 * @version
 */
package example;

import client.Client;
import client.SocketClient;

public class SocketClientUsage {
    public static void main(String[] args) {
        String host = "localhost";
        int port = 12345;
        Client client = new SocketClient(host, port);
        for (int i = 0; i < 30; i++) {
            client.set("xhm"+i,"for test");
            client.set("张三"+i,"laba"+i);
        }
        client.get("张三3");
    }
}